Team Example Improvements#265
Merged
ItsNature merged 2 commits intoversion/1.2.5from Apr 9, 2026
Merged
Conversation
…ame only if outside player view distance
Merged
TrentinTheKid
approved these changes
Apr 1, 2026
ItsNature
added a commit
that referenced
this pull request
Apr 17, 2026
* Deploy as 1.2.5-SNAPSHOT * Lightweight(JSON): Add serverbound & roundtrip packets examples (#264) * lightweight(json): add serverbound & roundtrip packets examples * change wording * change wording --------- Co-authored-by: Trentin <25537885+TrentinTheKid@users.noreply.github.com> * Update license year (#266) * Team Example Improvements (#265) * Better team example: filter hidden players, send location & display name only if outside player view distance * example(team): update default max distance * Implement CooldownStyle (#267) * Feature - Server Links (#261) * Add base ServerLinkModule # Conflicts: # docs/developers/lightweight/protobuf/getting-started.mdx # gradle/libs.versions.toml * server links api (WIP) * add the json & proto examples * add markdown docs * update serverlink docs * update paths in notification module example * update server link overview img * update overview desc * update component usage docs * Update version tags to 1.2.5 * Update license year * Fix conflicts * Remove extra line --------- Co-authored-by: TrentinTheKid <25537885+TrentinTheKid@users.noreply.github.com> * Implement `ModSettingsModule#requestInstalledMods` (#269) * Sync LunarClient Mods & Options (#270) * Sync LunarClient Mods & Options * Update version tags to 1.2.5 --------- Co-authored-by: LunarClient Bot <lc-bot@moonsworth.com> * Bump to 1.2.5 (#271) --------- Co-authored-by: Trentin <25537885+TrentinTheKid@users.noreply.github.com> Co-authored-by: LunarClient Bot <lc-bot@moonsworth.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Description:
Updates the
TeamMemberobject by making certain fields optional. This allows the server to include only the relevant data for each viewer, depending on context.Changes:
TeamMemberfieldsdisplayName,markerColor, andlocationare now optionaldisplayName: If not provided, only the marker is displayed.markerColor: If not provided, the default color0xFFFFFFFFis used.location: The provided location is only used when the player is out of render distance for the observer. If you know that the players are close, you don't need to send the location.Code Example (If applicable):
Review Request Checklist
feature/add-module&bugfix/fix-issue)